class Phone:
    IMEI = None
    producer = "WF"
    # 私有变量
    __cpu = None

    def call_by_4G(self):
        print("4G通话")

    def call_by_5G(self):
        print("5G通话")


# 继承
class Phone2022(Phone):
    face_id = True
    producer = "WF2"

    def call_by_5G(self):
        print(super().producer)
        print("子类的")
        # print("5G通话")
        # Phone.call_by_5G(self)
        super().call_by_5G()


phone = Phone2022()
phone.call_by_4G()
phone.call_by_5G()

print(phone.producer)
# print(phone.__cpu)

